Tor Lillqvist [Sat, 15 Apr 2000 04:34:03 +0000 (04:34 +0000)]
gtk/gtkclist.c (gtk_clist_motion) If we get a motion event with is_hint
2000-04-15 Tor Lillqvist <tml@iki.fi>
* gtk/gtkclist.c (gtk_clist_motion)
* gtk/gtklist.c (gtk_list_motion_notify): If we get a motion event
with is_hint FALSE, get x and y from the event. They used to be
used uninitialised. The Win32 backend never sends motion events
marked as hints. This for instance fixes the annoying file and
font selector behaviour in the Win32 version.
Tomasz K³opczko [Fri, 14 Apr 2000 07:04:29 +0000 (07:04 +0000)]
$(LIBART_CFLAGS) replaced by $(GTK_CFLAGS) - now gdk-pixbuf compiles
2000-04-14 Tomasz K³opczko <kloczek@pld.org.pl>
* gdk-pixbuf/pixops/makefile.am: $(LIBART_CFLAGS) replaced by
$(GTK_CFLAGS) - now gdk-pixbuf compiles correctly.
Tor Lillqvist [Thu, 13 Apr 2000 21:29:11 +0000 (21:29 +0000)]
Export the gtk_private_signals and gtk_private_n_signals variables, they
2000-04-14 Tor Lillqvist <tml@iki.fi>
* gtk/gtksignal.c: (Win32:) Export the gtk_private_signals and
gtk_private_n_signals variables, they are used by some software,
sigh.
* gtk/gtkrc.c (get_gtk_sysconf_directory): (Win32:) Fetch the
installation directory from the Registry, where the installer
should have put it.
James Henstridge [Thu, 13 Apr 2000 08:33:36 +0000 (08:33 +0000)]
when performing the configure check to see if gmodule works, set CFLAGS to
2000-04-13 James Henstridge <james@daa.com.au>
* configure.in: when performing the configure check to see if
gmodule works, set CFLAGS to GLIB_CFLAGS and LIBS to GLIB_LIBS,
rather than the other way round. Also, call AC_MSG_RESULT in the
even that dynamic modules were not supported.
Federico Mena Quintero [Thu, 13 Apr 2000 01:18:41 +0000 (01:18 +0000)]
Your eyes are bloodshot.
Your eyes are bloodshot.
Your mouth starts to foam.
Your hands are shaking.
You know your need your fix.
NEED MORE ABSTRACTION!
2000-04-12 Federico Mena Quintero <federico@helixcode.com>
This comes from an excellent idea by Tim Janik (timj@gtk.org) to
hook to the last unref operation.
* gdk-pixbuf/gdk-pixbuf.c (gdk_pixbuf_set_last_unref_handler): New
function to set the last unref handler for a pixbuf.
(gdk_pixbuf_finalize): New function to actually finalize a pixbuf.
It calls the pixbuf's destroy notification function and frees the
GdkPixbuf structure itself.
(gdk_pixbuf_unref): Use the last unref function of the pixbuf if
available.
* gdk-pixbuf/gdk-pixbuf-private.h (struct _GdkPixbuf): New fields
for the last unref handler and its user data.
* gdk-pixbuf/gdk-pixbuf-data.c (gdk_pixbuf_new_from_data): Use
g_new0() to allocate the pixbuf.
* gdk-pixbuf/gdk-pixbuf-loader.c (gdk_pixbuf_loader_class_init):
Fixed the call to gtk_signal_new() for the "frame_done" signal; it
was not specifying the `frame' argument.
* gdk-pixbuf/gdk-pixbuf-animation.c
(gdk_pixbuf_animation_get_width): Fixed docstring.
(gdk_pixbuf_animation_get_height): Likewise.
(gdk_pixbuf_animation_get_num_frames): Likewise.
(gdk_pixbuf_animation_get_frames): Likewise.
* doc/gdk-pixbuf-sections.txt: Updated with the new functions and
types.
* doc/tmpl/gdk-pixbuf.sgml: Added the description for GdkColorspace.
* doc/tmpl/scaling.sgml: Added the description for GdkInterpType.
* doc/tmpl/refcounting.sgml: Updated with the information about
the last unref handler.
* doc/tmpl/*.sgml: Markup tweaks.
* gdk-pixbuf/Makefile.am (libgnomecanvaspixbuf_la_LDFLAGS): Sigh,
update the libtool version number for libgnomecanvaspixbuf as
well.
(libpixbufloader_*_la_LDFLAGS): The loaders need to be versioned
as well, or the old ones won't work with the new stuff. Also,
renamed the modules as follows.
* gdk-pixbuf/gdk-pixbuf-io.c (gdk_pixbuf_load_module): Now the
modules are called "libpixbufloader-<format>.so" instead of
"libpixbuf-<format>.so". They needed renaming so that the new
loaders won't overwrite the old ones; even with the versioning
stuff, the new .so symlink to the .so.1.0.0 would overwrite the
old real .so file.
Paolo Molaro [Wed, 12 Apr 2000 07:13:20 +0000 (07:13 +0000)]
shut up cvs.
2000-04-12 Paolo Molaro <lupus@debian.org>
* .cvsignore, src/.cvsignore: shut up cvs.
Ville Hautamaki [Tue, 11 Apr 2000 09:08:13 +0000 (09:08 +0000)]
Pauli Virtanen updated fi.po.
Federico Mena Quintero [Tue, 11 Apr 2000 07:03:25 +0000 (07:03 +0000)]
Most of this patch is based on a patch by Havoc Pennington (hp@redhat.com)
2000-04-11 Federico Mena Quintero <federico@helixcode.com>
Most of this patch is based on a patch by Havoc Pennington
(hp@redhat.com) to make GdkPixbuf's structures opaque and to
remove the libart dependency.
* gdk-pixbuf/gdk-pixbuf.h: Removed the public structures.
(GdkColorspace): New enum that for now only contains
GDK_COLORSPACE_RGB.
(GdkPixbufDestroyNotify): New type for the pixbuf's pixels destroy
notification function.
(GdkInterpType): New num with interpolation types.
* *.[ch]: Replace the libart stuff with our own stuff.
* pixops/*.[ch]: Likewise.
* gdk-pixbuf/gdk-pixbuf-private.h: New file with the private
declarations of the GdkPixbuf structures.
* gdk-pixbuf/gdk-pixbuf.c (gdk_pixbuf_new_from_art_pixbuf):
Removed function.
(gdk_pixbuf_get_format): Constify.
(gdk_pixbuf_get_n_channels): Constify.
(gdk_pixbuf_get_has_alpha): Constify.
(gdk_pixbuf_get_bits_per_sample): Constify.
(gdk_pixbuf_get_pixels): Constify.
(gdk_pixbuf_get_width): Constify.
(gdk_pixbuf_get_height): Constify.
(gdk_pixbuf_get_rowstride): Constify.
* gdk-pixbuf/gdk-pixbuf.c (gdk_pixbuf_copy): New function to copy
a pixbuf.
* gdk-pixbuf/gdk-pixbuf-data.c (gdk_pixbuf_new_from_data): Added a
bits_per_sample argument; currently only 8 bits per sample are
supported.
* gdk-pixbuf/gdk-pixbuf-animation.c (gdk_pixbuf_frame_get_pixbuf):
New accessor.
(gdk_pixbuf_frame_get_x_offset): New accessor.
(gdk_pixbuf_frame_get_y_offset): New accessor.
(gdk_pixbuf_frame_get_delay_time): New accessor.
(gdk_pixbuf_frame_get_action): New accessor.
* gdk-pixbuf/gdk-pixbuf-render.c
(gdk_pixbuf_render_pixmap_and_mask): Instead of returning a solid
mask rectangle for pixbufs without an alpha channel, set the
*mask_return to NULL.
* gdk-pixbuf/gdk-pixbuf-util.c (gdk_pixbuf_add_alpha): Constify.
* gdk-pixbuf/gdk-pixbuf-scale.c: Fix includes.
* gdk-pixbuf/gdk-pixbuf-scale.c (gdk_pixbuf_scale): Added some
preconditions. Maybe we should also check for the colorspace,
bits per pixel, and such.
(gdk_pixbuf_composite): Likewise.
(gdk_pixbuf_composite_color): Likewise.
(gdk_pixbuf_scale_simple): Likewise, and fail gracefully if we
cannot allocate the new pixbuf.
(gdk_pixbuf_composite_color_simple): Likewise.
* gdk-pixbuf/gnome-canvas-pixbuf.c (gnome_canvas_pixbuf_render):
Use art_rgb_rgba_affine() or art_rgb_affine() since we no longer
have an ArtPixBuf.
* gdk-pixbuf/io-bmp.c: Fix includes.
* gdk-pixbuf/pixops/pixops.c (pixops_scale_nearest): Fixed cast in
an lvalue.
* TODO: Populated.
* configure.in: Removed checks for libart.
* gdk-pixbuf/Makefile.am: Removed references to libart.
(noinst_HEADERS): Added gdk-pixbuf-private.h.
* gdk-pixbuf/Makefile.am (libgdk_pixbuf_la_LDFLAGS): Incremented
the version number of the libtool library to indicate that this
definitely is not compatible with the old usage. I know you love
me. I know you do.
* configure.in: Bumped version number to 0.7.0.
* README: Updated.
* gdk-pixbuf-config.in (--libs): We no longer require libart.
* DEPENDS.libgdk_pixbuf: We no longer depend on libart.
* gdk-pixbuf.spec.in: Updated, but I don't guarantee anything.
Fatih Demir [Mon, 10 Apr 2000 15:05:37 +0000 (15:05 +0000)]
Updated the Turkish translation
Damon Chaplin [Sun, 9 Apr 2000 20:23:49 +0000 (20:23 +0000)]
update from Torsten Landschoff <t.landschoff@gmx.net>
2000-04-09 Damon Chaplin <damon@helixcode.com>
* gtk/tmpl/gtkmain.sgml: update from Torsten Landschoff
<t.landschoff@gmx.net>
* gdk/tmpl/input_methods.sgml:
* gdk/tmpl/general.sgml: fixed typos.
Owen Taylor [Fri, 7 Apr 2000 21:36:13 +0000 (21:36 +0000)]
Fix problem with installation directory for gdkx.h
Fri Apr 7 17:19:27 2000 Owen Taylor <otaylor@redhat.com>
* gdk/x11/Makefile.am: Fix problem with installation directory for
gdkx.h
* gtk/gtkmenuitem.c gtk/gtkmenushell.c: Patch from David Santiago
<mrcooger@cyberverse.com> so that when selecting menus with the
mouse, the first item will not be selected, but when selecting
with an accelerator, or navigating left-right on a menubar with
the menus popped up, the first item will be selected.
Jonathan Blandford [Thu, 6 Apr 2000 20:28:20 +0000 (20:28 +0000)]
add more info to the testanimation frames.
2000-04-06 Jonathan Blandford <jrb@redhat.com>
* gdk-pixbuf/testanimation.c (main): add more info to the
testanimation frames.
Dan Damian [Wed, 5 Apr 2000 16:45:09 +0000 (16:45 +0000)]
Added Romanian translation.
Owen Taylor [Wed, 5 Apr 2000 04:11:10 +0000 (04:11 +0000)]
Fix screwy indentation.
Wed Apr 5 00:08:36 2000 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkgc-x11.c (_gdk_x11_gc_new): Fix screwy
indentation.
* Makefile.am (EXTRA_DIST): Fix typo.
* gdk[/x11]/Makefile.am (INCLUDES): Add $(top_builddir)/gdk
to catch gdkconfig.h
* gtk/gtkitemfactory.c: Added FIXME.
Ettore Perazzoli [Tue, 4 Apr 2000 05:17:49 +0000 (05:17 +0000)]
Ooops, forgot header file.
Ettore Perazzoli [Tue, 4 Apr 2000 04:50:39 +0000 (04:50 +0000)]
Added GdkPixbufAnimation accessor functions, so that we don't have to
access the struct members directly.
Radek Doulik [Mon, 3 Apr 2000 08:59:43 +0000 (08:59 +0000)]
same as below
2000-03-29 Radek Doulik <rodo@helixcode.com>
* gdk-pixbuf/gdk-pixbuf-animation.c
(gdk_pixbuf_animation_new_from_file): same as below
* gdk-pixbuf/io-gif.c (gif_get_lzw): added update of width and
height in GdkPixbufAnimation
2000-03-28 Radek Doulik <rodo@helixcode.com>
* gdk-pixbuf/io-gif.c (gif_get_lzw): test also for
context->frame_done_func and context->anim_done_func to make
progressive animation loading work
* gdk-pixbuf/gdk-pixbuf-loader.c (gdk_pixbuf_loader_frame_done):
added priv->pixbuf = NULL as pixbuf is now in frame (and to make
gdk_pixbuf_loader_prepare happy)
(gdk_pixbuf_loader_frame_done): update animation bbox
* gdk-pixbuf/gdk-pixbuf.h: added bbox size (width, height) to
_GdkPixbufAnimation
2000-03-27 Radek Doulik <rodo@helixcode.com>
* gdk-pixbuf/io-gif.c (gif_get_lzw): use frame_len and frame_width
instead of width and height
Federico Mena Quintero [Sun, 2 Apr 2000 18:54:17 +0000 (18:54 +0000)]
Reverted Mark's change. The refcount is private information, and the
2000-04-01 Federico Mena Quintero <federico@helixcode.com>
* gdk-pixbuf/gdk-pixbuf.c: Reverted Mark's change. The refcount
is private information, and the art_pixbuf will go away soon.
Mark Crichton [Sat, 1 Apr 2000 03:28:31 +0000 (03:28 +0000)]
Added 2 more convience functions.
Added 2 more convience functions.
gdk_pixbuf_get_refcount for the current refcount of the pixbuf (per someone
at Eazel's request)
gdk_pixbuf_get_artpixbuf: returns the artpixbuf of the pixbuf. Is this
a good idea? I'm using it to help make->panel->do->the->right->thing.
Jonathan Blandford [Thu, 30 Mar 2000 16:52:29 +0000 (16:52 +0000)]
oops. s/return_if_fail/return_val_if_fail/g and add a return value.
2000-03-30 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkpaned.c (gtk_paned_get_position): oops.
s/return_if_fail/return_val_if_fail/g and add a return value.
Havoc Pennington [Thu, 30 Mar 2000 01:52:50 +0000 (01:52 +0000)]
update to reflect stuff I already did
Havoc Pennington [Wed, 29 Mar 2000 20:49:52 +0000 (20:49 +0000)]
file gtkiconset.c was initially added on branch havoc-patches.
Havoc Pennington [Wed, 29 Mar 2000 20:49:52 +0000 (20:49 +0000)]
file gtkiconset.h was initially added on branch havoc-patches.
Federico Mena Quintero [Wed, 29 Mar 2000 19:54:29 +0000 (19:54 +0000)]
Return gboolean instead of int.
2000-03-29 Federico Mena Quintero <federico@helixcode.com>
* gdk-pixbuf/gdk-pixbuf.c (gdk_pixbuf_get_has_alpha): Return
gboolean instead of int.
Havoc Pennington [Tue, 28 Mar 2000 19:51:08 +0000 (19:51 +0000)]
Add font selector, color selector
Havoc Pennington [Tue, 28 Mar 2000 17:18:15 +0000 (17:18 +0000)]
Add stuff from Ettore
Owen Taylor [Tue, 28 Mar 2000 04:49:42 +0000 (04:49 +0000)]
Fix problem with precendence of >> and & which was keeping composite_color
2000-03-27 Owen Taylor <otaylor@redhat.com>
* gdk-pixbuf/pixops/pixops.c: Fix problem with
precendence of >> and & which was keeping composite_color
from working with non-gray images.
Owen Taylor [Tue, 28 Mar 2000 01:58:05 +0000 (01:58 +0000)]
Fix up merge slipup.
Mon Mar 27 20:56:14 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.c (gtk_widget_queue_clear_area): Fix up
merge slipup.
* gdk/gdkinput.h: Fix missing line from merge.
Owen Taylor [Tue, 28 Mar 2000 01:40:57 +0000 (01:40 +0000)]
Include gdkinternals.h instead of gdkprivate.h.
Mon Mar 27 20:39:49 2000 Owen Taylor <otaylor@redhat.com>
* gdk/gdkcolor.c cursor.c gdkdraw.c gdkfont.c: Include gdkinternals.h
instead of gdkprivate.h.
Owen Taylor [Tue, 28 Mar 2000 01:31:13 +0000 (01:31 +0000)]
*** empty log message ***
Owen Taylor [Tue, 28 Mar 2000 01:24:44 +0000 (01:24 +0000)]
Merge no-flicker branch into HEAD
Havoc Pennington [Mon, 27 Mar 2000 23:49:23 +0000 (23:49 +0000)]
Add making GdkRGB render to any visual
Havoc Pennington [Mon, 27 Mar 2000 23:40:04 +0000 (23:40 +0000)]
Add MDI thing and icon list
Havoc Pennington [Mon, 27 Mar 2000 23:24:17 +0000 (23:24 +0000)]
fix sections
Havoc Pennington [Mon, 27 Mar 2000 23:20:40 +0000 (23:20 +0000)]
Update TODO file with a bunch of stuff (filtered via Owen)
Jonathan Blandford [Thu, 23 Mar 2000 22:33:38 +0000 (22:33 +0000)]
add getter.
2000-03-23 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkpaned.c (gtk_paned_get_position): add getter.
Havoc Pennington [Thu, 23 Mar 2000 20:20:19 +0000 (20:20 +0000)]
Add defs file format document (this document isn't 100% finalized, but
putting it here as a sort of "official" location)
Pablo Saratxaga [Mon, 20 Mar 2000 17:47:01 +0000 (17:47 +0000)]
Updated Lithuanian file
Tor Lillqvist [Thu, 16 Mar 2000 21:58:35 +0000 (21:58 +0000)]
Remove the #ifndef USE_DISPATCHMESSAGE sections, we do want to use
2000-03-17 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkevents-win32.c: Remove the #ifndef
USE_DISPATCHMESSAGE sections, we do want to use DispatchMessage.
* gdk/win32/gdkfont-win32.c
* gdk/win32/gdkproperty-win32.c
* gdk/win32/gdkselection-win32.c
* gdk/win32/gdkwindow-win32.c: Add const to some arguments that are
now declared such.
Manish Singh [Wed, 15 Mar 2000 11:03:57 +0000 (11:03 +0000)]
removed stray gutter_size reference, a 1.2 relic
* gtk/gtkvpaned.c: removed stray gutter_size reference, a 1.2 relic
-Yosh
Raph Levien [Tue, 14 Mar 2000 22:20:20 +0000 (22:20 +0000)]
Better description of gdk_rgb_set_min_colors. Stric pointed out that
the previous documentation suggested using 256 to request a private
colormap, which is currently broken. This was making Mozilla crash.
Owen Taylor [Tue, 14 Mar 2000 19:57:25 +0000 (19:57 +0000)]
Merges from gtk-1-2
Tor Lillqvist [Tue, 14 Mar 2000 18:10:15 +0000 (18:10 +0000)]
Fix typo: Italian uses ISO-8859-1, not -2. Add en_GB.
2000-03-14 Tor Lillqvist <tml@iki.fi>
* makefile.cygwin: Fix typo: Italian uses ISO-8859-1, not -2. Add
en_GB.
Havoc Pennington [Tue, 14 Mar 2000 17:21:06 +0000 (17:21 +0000)]
document gtk_window_set_policy() (cleared with Owen)
Pablo Saratxaga [Mon, 13 Mar 2000 20:57:47 +0000 (20:57 +0000)]
Updated lt.po
GMT 2000 Tony Gale [Thu, 9 Mar 2000 22:17:20 +0000 (22:17 +0000)]
FAQ Update: - Minor cleanups (Emmanuel, me) - New questions: I need to add
Thu Mar 9 22:10:56 GMT 2000 Tony Gale <gale@gtk.org>
* docs/gtkfaq.sgml: FAQ Update:
- Minor cleanups (Emmanuel, me)
- New questions:
I need to add a new signal to a GTK+ widget. Any idea? (timj)
How can I retrieve the text from a GtkMenuItem? (timj)
How do I validate/limit/filter the input to a GtkEntry? (me)
Memory does not seem to be released when I free the list
nodes I've allocated (timj)
Jonathan Blandford [Thu, 9 Mar 2000 00:11:30 +0000 (00:11 +0000)]
free the context. (gdk_pixbuf__gif_image_load_animation): free the
2000-03-08 Jonathan Blandford <jrb@redhat.com>
* gdk-pixbuf/io-gif.c (gdk_pixbuf__gif_image_load): free the context.
(gdk_pixbuf__gif_image_load_animation): free the context.
Tor Lillqvist [Wed, 8 Mar 2000 06:18:41 +0000 (06:18 +0000)]
Internal GDK error reporting changes: (gdk_win32_gdi_failed) New function
2000-03-07 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkmain-win32.c: Internal GDK error reporting changes:
(gdk_win32_gdi_failed) New function for reporting errors from GDI,
for which it is no use to call GetLastError on Win9x.
(gdk_other_api_failed) New function, for
general error reporting without calling GetLastError.
(gdk_win32_api_failed) OTOH, this function always calls
GetLastError. (gdk_win32_last_error_string) Remove this function,
GLib has the equivalent now.
* gdk/win32/gdkprivate-win32.h: Declare the above, and macros to
call them with function name, file name and line number in the
arguments.
* gdk/win32/*.c: Use the new macros for reporting errors from GDI
functions.
* gtk/gtk.def: Add some missing entry points.
* gtk/gtkcompat.h.in: Define gtk_paned_gutter_size and
gtk_paned_set_gutter_size, which don't exist any longer, as void.
Fixes by Hans Breuer:
* gdk/makefile.msc: Update for debugging.
* gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_dashes): Fake
implementation, just use the PS_DASH, PS_DOT, PS_DASHDOT or
PS_DASHDOTDOT or PS_DASH styles depending on the number of entries
in the dash_list.
* gdk/win32/gdkwin32.h (GDK_FONT_XFONT): New macro, similar as in
the x11 backend.
* gdk/win32/gdkprivate-win32.h (IS_WIN_NT): New macro.
* gtk/testgtk.c: Include config.h, guard inclusion of unistd.h.
Damon Chaplin [Tue, 7 Mar 2000 18:03:35 +0000 (18:03 +0000)]
fix to gtk_clist_set_reorderable(). It reorders rows, not columns. From
2000-03-07 Damon Chaplin <damon@helixcode.com>
* gtk/tmpl/gtkclist.sgml: fix to gtk_clist_set_reorderable(). It
reorders rows, not columns. From Guy Harris <gharris@flashcom.net>.
Owen Taylor [Mon, 6 Mar 2000 18:47:32 +0000 (18:47 +0000)]
Moved into docs/ subdir
Mon Mar 6 11:44:58 2000 Owen Taylor <otaylor@redhat.com>
* docs/gap-geometry.fig: Moved into docs/ subdir
* Makefile.am configure.in autogen.sh src/Makefile.am:
automakify
* src/pixbuf.h src/pixbuf-render.c src/pixbuf-draw.c
src/pixbuf-main.c: Move sources into subdir and
rename.
Owen Taylor [Mon, 6 Mar 2000 16:39:14 +0000 (16:39 +0000)]
Start automake-ifying
Owen Taylor [Mon, 6 Mar 2000 16:12:22 +0000 (16:12 +0000)]
Handle drawing transparency without a mask correctly.
Mon Mar 6 11:02:07 2000 Owen Taylor <otaylor@redhat.com>
* pixmap_theme_pixbuf.c: Handle drawing transparency without a
mask correctly.
* pixmap_theme_main.c pixmap_theme_draw.c: Remove duplicate
includes.
Arjan van de Ven [Mon, 6 Mar 2000 08:53:57 +0000 (08:53 +0000)]
Arjan van de Ven <arjan@fenrus.demon.nl>
Fixed to pointer-bugs and a
mis-interpretation of the Microsoft documentation. Now
it can load .BMP files that are not generated by The Gimp
as well.
a=federico
Tor Lillqvist [Fri, 3 Mar 2000 23:21:51 +0000 (23:21 +0000)]
Store just pixel value of background colour.
2000-03-04 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkprivate-win32.h (struct _GdkWindowWin32Data): Store
just pixel value of background colour.
* gdk/win32/gdkgc-win32.c (gdk_colormap_color): New function
containing code snippet previously duplicated in a couple of
places.
* gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_points): Use
gdk_colormap_color.
* gdk/win32/gdkevents-win32.c (gdk_event_translate): Generate
GDK_SCROLL events for WM_MOUSEWHEEL messages. Don't generate
events for autorepeated Shift, Control and Alt keys. Use
gdk_colormap_color.
* gdk/win32/gdkwindow-win32.c (gdk_window_set_cursor): If the
pointer is inside the window the cursor of which we are setting,
call SetCursor immediately.
* gdk/win32/makefile.cygwin
* gtk/makefile.cygwin: If we don't have the build number stamp
file, use zero.
* gtk/gtkcompat.h.in: Define gtk_paned_gutter_size and
gtk_paned_set_gutter_size as empty.
* gtk/gtk.def: Remove gtk_paned_set_gutter_size.
Mark Crichton [Fri, 3 Mar 2000 03:57:15 +0000 (03:57 +0000)]
Merged in changes.
Merged in changes.
If this doesn't work, I blame the NWO conspiracy.
I need to go put my tin foil hat back on now, and keep a lookout for the
black helicopters.
Damon Chaplin [Tue, 29 Feb 2000 18:43:54 +0000 (18:43 +0000)]
minor fix from Nicolas GEORGE <nicolas.george@ens.fr>.
2000-02-29 Damon Chaplin <damon@helixcode.com>
* gtk/tmpl/gtkmenuitem.sgml: minor fix from Nicolas GEORGE
<nicolas.george@ens.fr>.
Matt Wilson [Tue, 29 Feb 2000 18:27:44 +0000 (18:27 +0000)]
s/unsigned long/guint32/g, s/unsigned short/guint16/g, s/unsigned
2000-02-28 Matt Wilson <msw@redhat.com>
* gdk-pixbuf/gdk-pixbuf-drawable.c: s/unsigned long/guint32/g,
s/unsigned short/guint16/g, s/unsigned char/guint8/g
GMT 2000 Tony Gale [Tue, 29 Feb 2000 13:29:59 +0000 (13:29 +0000)]
missed a couple of corrections
Tue Feb 29 13:29:17 GMT 2000 Tony Gale <gale@gtk.org>
missed a couple of corrections
GMT 2000 Tony Gale [Tue, 29 Feb 2000 13:15:10 +0000 (13:15 +0000)]
Spelling/grammar fixes from Martin Buchholz <martin@xemacs.org>
Tue Feb 29 13:10:00 GMT 2000 Tony Gale <gale@gtk.org>
* gdk/gdkwindow.h gdk/x11/gxid.c gtk/gtkclist.c gtk/gtkclist.h
gtk/gtkctree.c gtk/gtkmenu.h gtk/gtkwidget.c gtk/testgtk.c
docs/styles.txt docs/refcounting.txt docs/gtkfaq.sgml
docs/gtk_tut.sgml docs/gtk.texi TODO:
Spelling/grammar fixes from Martin Buchholz <martin@xemacs.org>
Damon Chaplin [Mon, 28 Feb 2000 21:39:41 +0000 (21:39 +0000)]
new menu item sections and minor update to notebook section from Nicolas
2000-02-28 Damon Chaplin <damon@helixcode.com>
* gtk/tmpl/gtkradiomenuitem.sgml:
* gtk/tmpl/gtkmenuitem.sgml:
* gtk/tmpl/gtknotebook.sgml: new menu item sections and minor update to
notebook section from Nicolas GEORGE <nicolas.george@ens.fr>.
2000-02-18 Damon Chaplin <damon@helixcode.com>
* gtk/tmpl/gtktooltips.sgml: patch from
David Benson <daveb@idealab.com> to note that gtk_tooltips_set_colors()
does not work.
2000-02-09 Damon Chaplin <damon@helixcode.com>
* gdk/tmpl/input_methods.sgml: minor fix.
Damon Chaplin [Mon, 28 Feb 2000 21:39:41 +0000 (21:39 +0000)]
added a note about no-window widgets.
2000-06-14 Damon Chaplin <damon@helixcode.com>
* gtk/tmpl/gtktooltips.sgml: added a note about no-window widgets.
Damon Chaplin [Mon, 28 Feb 2000 21:39:41 +0000 (21:39 +0000)]
new menu item sections and minor update to notebook section from Nicolas
2000-02-28 Damon Chaplin <damon@helixcode.com>
* gtk/tmpl/gtkradiomenuitem.sgml:
* gtk/tmpl/gtkmenuitem.sgml:
* gtk/tmpl/gtknotebook.sgml: new menu item sections and minor update to
notebook section from Nicolas GEORGE <nicolas.george@ens.fr>.
2000-02-18 Damon Chaplin <damon@helixcode.com>
* gtk/tmpl/gtktooltips.sgml: patch from
David Benson <daveb@idealab.com> to note that gtk_tooltips_set_colors()
does not work.
2000-02-09 Damon Chaplin <damon@helixcode.com>
* gdk/tmpl/input_methods.sgml: minor fix.
Federico Mena Quintero [Sun, 27 Feb 2000 01:25:27 +0000 (01:25 +0000)]
We don't require libgif/ungif nor libXpm.
2000-02-26 Federico Mena Quintero <federico@helixcode.com>
* README: We don't require libgif/ungif nor libXpm.
* NEWS: This was outdated, so updated it.
GMT 2000 Tony Gale [Sat, 26 Feb 2000 11:39:07 +0000 (11:39 +0000)]
Implement num_marked_dates, and don't emit mutiple day_selected signals on
Sat Feb 26 11:46:25 GMT 2000 Tony Gale <gale@gtk.org>
* gtk/gtkcalendar.c: Implement num_marked_dates,
and don't emit mutiple day_selected signals on
month_prev.
Tim Janik [Sat, 26 Feb 2000 03:47:25 +0000 (03:47 +0000)]
don't omit TODO.xml
Christopher R. Gabriel [Sat, 26 Feb 2000 01:41:58 +0000 (01:41 +0000)]
Updated italian translation
Jonathan Blandford [Fri, 25 Feb 2000 22:56:58 +0000 (22:56 +0000)]
let title and logo be configurable so that GNOME can use this script too.
2000-02-25 Jonathan Blandford <jrb@redhat.com>
* docs/make-todo (lineno): let title and logo be configurable so
that GNOME can use this script too.
* TODO.xml: added logourl and a title
Federico Mena Quintero [Fri, 25 Feb 2000 21:41:51 +0000 (21:41 +0000)]
Use the correct name for gdk-pixbuf/gdk-pixbuf.h. Thanks to Jacob Berkman
2000-02-25 Federico Mena Quintero <federico@helixcode.com>
* gdk-pixbuf.m4: Use the correct name for
gdk-pixbuf/gdk-pixbuf.h. Thanks to Jacob Berkman for pointing
this out.
Owen Taylor [Fri, 25 Feb 2000 16:17:10 +0000 (16:17 +0000)]
Added some UI items, and an explanatory comment at the top of the file.
Fri Feb 25 11:12:00 2000 Owen Taylor <otaylor@redhat.com>
* TODO.xml: Added some UI items, and an explanatory
comment at the top of the file.
Tim Janik [Thu, 24 Feb 2000 08:12:12 +0000 (08:12 +0000)]
some updates, added abunch of new entries. a note for those fiddeling with
Thu Feb 24 09:07:28 2000 Tim Janik <timj@gtk.org>
* TODO.xml: some updates, added abunch of new entries.
a note for those fiddeling with this file, when done
with it, invoke:
$ ./docs/make-todo TODO.xml >/dev/null
and correct output errors before comitting changes.
Owen Taylor [Thu, 24 Feb 2000 05:11:56 +0000 (05:11 +0000)]
twiddled some more
Owen Taylor [Thu, 24 Feb 2000 04:47:57 +0000 (04:47 +0000)]
twiddled
Owen Taylor [Thu, 24 Feb 2000 04:35:05 +0000 (04:35 +0000)]
small changes
Owen Taylor [Thu, 24 Feb 2000 04:20:41 +0000 (04:20 +0000)]
spelling fixes
Owen Taylor [Thu, 24 Feb 2000 04:03:49 +0000 (04:03 +0000)]
Added XML-structured TODO file. python script to turn TODO.xml into pretty
Wed Feb 23 22:59:50 2000 Owen Taylor <otaylor@redhat.com>
* TODO.xml: Added XML-structured TODO file.
* docs/make-todo: python script to turn TODO.xml into
pretty XML output.
Jonathan Blandford [Wed, 23 Feb 2000 22:55:27 +0000 (22:55 +0000)]
add a 'paned' mode to the function to let it draw the seven dots, instead
2000-02-23 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkstyle.c (gtk_default_draw_handle): add a 'paned' mode to
the function to let it draw the seven dots, instead of the old,
much maligned, method.
(draw_dot): New function to draw a dot.
* gtk/gtkhpaned.c (gtk_hpaned_size_allocate): changed allocation
to draw the handle inside the border width as opposed to outside.
Use paint function instead of gdk_draw_point.
* gtk/gtkvpaned.c (gtk_vpaned_size_allocate): changed allocation
to draw the handle inside the border width as opposed to outside.
Use paint function instead of gdk_draw_point.
* gtk/gtkfilesel.c (gtk_file_selection_update_history_menu):
Change indenting to be more GTK like.
GMT 2000 Tony Gale [Wed, 23 Feb 2000 10:59:21 +0000 (10:59 +0000)]
New section on GtkCalendar Update example code
Wed Feb 23 10:54:14 GMT 2000 Tony Gale <gale@gtk.org>
* docs/gtk_tut.sgml: New section on GtkCalendar
* examples/calendar: Update example code
GMT 2000 Tony Gale [Tue, 22 Feb 2000 13:59:09 +0000 (13:59 +0000)]
Get the date on the FAQ right. Grr.
Tue Feb 22 14:02:48 GMT 2000 Tony Gale <gale@gtk.org>
* Get the date on the FAQ right. Grr.
GMT 2000 Tony Gale [Tue, 22 Feb 2000 13:49:53 +0000 (13:49 +0000)]
FAQ Update
Tue Feb 22 13:54:12 GMT 2000 Tony Gale <gale@gtk.org>
* docs/gtkfaq.sgml: FAQ Update
Federico Mena Quintero [Tue, 22 Feb 2000 00:29:00 +0000 (00:29 +0000)]
0.6.0 - Federico
Jonathan Blandford [Sun, 20 Feb 2000 03:08:00 +0000 (03:08 +0000)]
fix case where initial colormap entry is Transparent.
2000-02-19 Jonathan Blandford <jrb@redhat.com>
* gdk-pixbuf/io-gif.c (new_context): fix case where initial
colormap entry is Transparent.
Anders Carlsson [Sat, 19 Feb 2000 22:19:55 +0000 (22:19 +0000)]
Return TRUE to prevent the scroll event to be propagated upwards.
2000-02-19 Anders Carlsson <andersca@gnu.org>
* gtk/gtkrange.c (gtk_range_scroll_event): Return TRUE
to prevent the scroll event to be propagated upwards.
Owen Taylor [Sat, 19 Feb 2000 22:05:48 +0000 (22:05 +0000)]
Fix error in scale factors for non-alpha case.
2000-02-19 Owen Taylor <otaylor@redhat.com>
* gdk-pixbuf/pixops/pixops.c (scale_pixel): Fix error in
scale factors for non-alpha case.
Anders Carlsson [Fri, 18 Feb 2000 21:44:29 +0000 (21:44 +0000)]
Fix my e-mail address
Owen Taylor [Fri, 18 Feb 2000 20:02:24 +0000 (20:02 +0000)]
Remove OwnerGrabButtonMask from button entries for GDK_BUTTON_PRESS /
Fri Feb 18 14:37:29 2000 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkwindow-x11.c (gdk_event_mask_table): Remove
OwnerGrabButtonMask from button entries for
GDK_BUTTON_PRESS / GDK_BUTTON_RELEASE.
* gtk/gtklayout.c (gtk_layout_realize): Always add GDK_SCROLL
to the event mask (which will result in button/press release
being added to the event mask on Unix) so scrolling works
for layouts in scroll windows.
* gdk/gdkevents.h (enum): Fix up GDK_ALL_EVENTS_MASK.
Patch from Anders Carlsson <andersca@picard.andersnet> to add
a scroll event.
* gtk/testgtk.c (scroll_test_scroll): Added an example of mouse wheel
scrolling to the "Test Scrolling" part of testgtk.
* gtk/gtkwidget.h (struct _GtkWidgetClass): Added scroll_event signal.
* gtk/gtkwidget.c: Added "scroll_event" GTK+ signal and matched
it against GDK_SCROLL.
* gtk/gtkrange.c (gtk_range_scroll_event): Updated to use the new
way of mouse wheel scrolling.
* gtk/gtkscrolledwindow.c (gtk_scrolled_window_scroll_event): Likewise.
* gtk/gtkspinbutton.c (gtk_spin_button_scroll): Likewise.
* gtk/gtkmain.c: Removed previous mouse wheel hack.
* gdk/x11/gdkwindow-x11.c (gdk_event_mask_table): Added entry in
gdk_event_mask_table.
* gdk/x11/gdkevents-x11.c (gdk_event_translate): Added
GdkEventScroll handler.
* gdk/gdkevents.h: Added GdkEventScroll structure.
Owen Taylor [Thu, 17 Feb 2000 22:12:25 +0000 (22:12 +0000)]
Add patch from Jonathan Blandford and Anders Carlsson to change the Paned
Thu Feb 17 17:10:12 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gt{h,k,}vpaned.[ch]: Add patch from Jonathan Blandford
and Anders Carlsson to change the Paned widgets so that they
can be dragged from anywhere along the length. Also change
the way that this is drawn to make this apparent.
* gtk/gtkoptionmenu.c (gtk_option_menu_get_history): Apply patch
from George Lebl to check that option_menu->menu is present
before getting history.
Mark Crichton [Mon, 14 Feb 2000 23:26:01 +0000 (23:26 +0000)]
Iain sent me a xpm that didn't load. It used "g" instead of "c" in it's
Iain sent me a xpm that didn't load. It used "g" instead of "c" in it's
color table.
I thought that was borked until I saw Imlib, xv, and Gimp load it up w/o
problem...
So, fixed that (less than one line fix). HOWEVER, if this is correct,
then the gdk XPM loader in gtk+ also has the same problem.
Owen, got an opinion on this?
Mark
Darin Adler [Mon, 14 Feb 2000 20:51:51 +0000 (20:51 +0000)]
Remove now-unnecessary cast.
Elliot Lee [Mon, 14 Feb 2000 20:06:23 +0000 (20:06 +0000)]
Make passed-in argument 'const'.
* gdk-pixbuf/gdk-pixbuf.h, gdk-pixbuf/gdk-pixbuf-data.c: Make passed-in argument 'const'.
Tor Lillqvist [Sun, 13 Feb 2000 23:19:23 +0000 (23:19 +0000)]
Move the test for no segments before the assertion for non-NULL segment
2000-02-14 Tor Lillqvist <tml@iki.fi>
* gdk/gdkdraw.c (gdk_draw_segments): Move the test for no segments
before the assertion for non-NULL segment list.
* gdk/win32/gdkgc-win32.c: (gdk_win32_gc_values_to_win32values):
Seems that pattern brushes *must* be 8x8 pixels! At least on my
machine, but it might be display driver dependent. Sigh, so make
sure the stipple is that size. Does Windows suck or what?
* gdk/win32/gdkdrawable-win32.c: Improve error handling in a few
places.
Havoc Pennington [Sun, 13 Feb 2000 20:22:20 +0000 (20:22 +0000)]
init refcount to 1 (gdk_cursor_new): init refcount to 1
2000-02-13 Havoc Pennington <hp@pobox.com>
* gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap): init
refcount to 1
(gdk_cursor_new): init refcount to 1
* gdk/win32/gdkcursor-win32.c
(gdk_cursor_new): init refcount to 1
Tor Lillqvist [Sun, 13 Feb 2000 14:52:47 +0000 (14:52 +0000)]
Add an extra parameter so that we don't have to do unnecessary settings to
2000-02-13 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkgc-win32.c (gdk_gc_predraw): Add an extra parameter
so that we don't have to do unnecessary settings to the HDC.
* gdk/win32/gdkdrawable-win32.c
* gdk/win32/gdkimage-win32.c: Corresponding changes to the calls of
gdk_gc_predraw.
* gdk/win32/gdkdrawable-win32.c: Special-casing for GdkGCs where
the fill style is GDK_OPAQUE_STIPPLED. In those cases we construct
GDI paths, call WidenPath to get the outline of the stroken path,
and then fill the outline (with the brush that was built from the
stipple).
* gdk/win32/gdkgc-win32.c: Factor out common code from
_gdk_win32_gc_new and gdk_win32_gc_set_values into
gdk_win32_gc_values_to_win32values.
* gdk/win32/gdkmain-win32.c (gdk_win32_last_error_string,
gdk_win32_api_failed): New functions for error logging.
* gdk/win32/gdkprivate-win32.h: Declare them, and a macro
WIN32_API_FAILED to call them, passing function or file name and
line number.
* gdk/win32/*.c: Use the WIN32_API_FAILED macro.
* gdk/win32/gdkprivate-win32.h: Store just the pixel values from
GdkColor for foreground and background in GdkGCWin32Data.
* gdk/makefile.cygwin: Link in the resource object separately.
* gdk/win32/rc/gdk.rc
* gtk/gtk.rc (New file)
* gdk/win32/makefile.cygwin
* gtk/makefile.cygwin: Update build number in DLLs automatically,
as in GLib.
Tim Janik [Sun, 13 Feb 2000 08:16:48 +0000 (08:16 +0000)]
s/refcount/ref_count/.
Sun Feb 13 08:54:45 2000 Tim Janik <timj@gtk.org>
* gdk/gdkcursor.h (struct _GdkCursor): s/refcount/ref_count/.
* gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap):
* gdk/x11/gdkcursor-x11.c (_gdk_cursor_destroy):
* gdk/gdkcursor.c (gdk_cursor_ref): insert assertments for the
parameters given and cursor->ref_count. coding style fixups.
* gtk/gtksocket.c (gtk_socket_class_init): parent class is GtkContainer,
not GtkWidget.
* gtk/*.h: applied patch from Mathieu Lacage <lacage@email.enst.fr> to
fix up widget macros and add _GET_CLASS() variant.
* gtk/*.c: some GtkType fixups.
Tor Lillqvist [Wed, 9 Feb 2000 22:31:34 +0000 (22:31 +0000)]
gdk/win32/gdkproperty-win32.c The assertions for GDK_IS_WINDOW were
2000-02-09 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkproperty-win32.c
* gdk/x11/gdkproperty-x11.c: The assertions for GDK_IS_WINDOW
were reversed.
Owen Taylor [Mon, 7 Feb 2000 02:36:39 +0000 (02:36 +0000)]
Initial import of gdk-pixbuf-based engine
Owen Taylor [Mon, 7 Feb 2000 02:36:39 +0000 (02:36 +0000)]
Initial revision
Michael Meeks [Thu, 3 Feb 2000 23:36:14 +0000 (23:36 +0000)]
By order of jrb: const patch for various bits, io-gif.c fixup for
By order of jrb:
const patch for various bits,
io-gif.c fixup for animations.
Pablo Saratxaga [Thu, 3 Feb 2000 18:05:00 +0000 (18:05 +0000)]
updated lt.po
Kjartan Maraas [Thu, 3 Feb 2000 11:03:16 +0000 (11:03 +0000)]
Updated Norwegian translation.
2000-02-04 Kjartan Maraas <kmaraas@online.no>
* no.po: Updated Norwegian translation.
Tor Lillqvist [Thu, 3 Feb 2000 01:42:51 +0000 (01:42 +0000)]
Argh, decided not to return a string that must be freed from
gtk_file_selection_get_filename after all, as that would
cause memory leaks in all apps that use it unless they
specifically checked fot the GTk+ version.
gtk_file_selection_get_filename returns the filename in the C
runtime encoding. It calls g_filename_from_utf8, but copies the
returned string to a static buffer, which is returned. I think
this is better than returning the result from g_filename_from_utf8
directly, which would mean all apps that use it would have to free
the return value. Or should this function care about this issue at
all? Maybe a new function with clearly defined semantics.